package com.gsma.calendar.android.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.gsma.calendar.android.R;

public class HomeActivity extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);



	}

	public void openGlobalEvent(View view) {
		Intent intent = new Intent(HomeActivity.this, GlobalEventsActivity.class);
		startActivity(intent);
	}

	// Calendar cal = Calendar.getInstance();
	//
	// Intent intent = new Intent(Intent.ACTION_EDIT);
	// intent.setType("vnd.android.cursor.item/event");
	// intent.putExtra("title", "Some title");
	// intent.putExtra("description", "Some description");
	// intent.putExtra("beginTime", cal.getTimeInMillis());
	// intent.putExtra("endTime", cal.getTimeInMillis() + 60 * 60 * 1000);
	// startActivity(intent);

}